package com.mifengkong.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by mc on 17/9/29.
 */
@Entity
public class ActivityIndex {

    @Id(autoincrement = true)
    long id;

    @Property(nameInDb = "LOGO")
    private String logo;

    @Property(nameInDb = "URL")
    private String url;

    @Property(nameInDb = "STATE")
    private int state;

    @Property(nameInDb = "JUMP_TYPE")
    private int jump_type;

    public ActivityIndex(String logo, String url, int state, int jump_type) {
        this.logo = logo;
        this.url = url;
        this.state = state;
        this.jump_type = jump_type;
    }

    @Generated(hash = 1201237968)
    public ActivityIndex(long id, String logo, String url, int state,
            int jump_type) {
        this.id = id;
        this.logo = logo;
        this.url = url;
        this.state = state;
        this.jump_type = jump_type;
    }

    @Generated(hash = 1434167699)
    public ActivityIndex() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLogo() {
        return this.logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getState() {
        return this.state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getJump_type() {
        return this.jump_type;
    }

    public void setJump_type(int jump_type) {
        this.jump_type = jump_type;
    }
}
